<template>
  <a-modal
    v-model="visible"
    title="预览活动详情"
    :maskClosable="false"
    :width="500"
    centered
    :footer="null"
  >
    <div class="disFlxCC">
      <ImgOrVideo :item="{url: reviewQrCode}" preview :width="150" :height="150" />
      <div class="_mt-20 _mb-10">请使用微信扫码预览活动详情</div>
    </div>
  </a-modal>
</template>

<script>
import ImgOrVideo from '@/components/ImgOrVideo'

export default {
  components: {
    ImgOrVideo
  },
  data () {
    return {
      visible: false,
      reviewQrCode: ""
    }
  },
  methods: {
    openModal (item) {
      this.reviewQrCode = item.reviewQrCode;
      this.visible = true
    }
  }
}
</script>

<style lang="less" scoped>

</style>